/*
 * Copyright 2015-2019 Evun Technology. 
 * 
 * This software is the confidential and proprietary information of
 * Evun Technology. ("Confidential Information").  You shall not
 * disclose such Confidential Information and shall use it only in
 * accordance with the terms of the license agreement you entered into
 * with evun.cn.
 */
package cn.evun.sweet.demo.dao;

import java.util.List;

import cn.evun.sweet.base.model.OrgDo;

/**
 * 组织机构相关DAO操作
 *
 * @author yangw
 * @since 1.0.0
 */
public interface OrgMapper {

	/**
	 * 一次查询加载所有数据
	 */
	public List<OrgDo> selectOrgList(Long tenantId);
	
	/**
	 * 使用lazy加载二级列表数据
	 */
	public List<OrgDo> selectOrgsByTenant(Long tenantId);
	
}
